<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<ui:component xmlns="http://www.w3.org/1999/xhtml"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:c="http://java.sun.com/jsp/jstl/core">

	<table border="1">
		<tr>
			<td>/</td>	
			<c:forEach begin="0" end="#{matrix.getColumnsCount()-1}" var="rowInd" >				
				<td><span style="color: green;">#{rowInd}</span> </td>				
			</c:forEach>
		</tr>
			
		<c:forEach begin="0" end="#{matrix.getRowsCount()-1}" var="rowInd" >
			<tr>
				<td><span style="color: green;">#{rowInd}</span> </td>
			
				<c:forEach items="#{matrix.getRow(rowInd)}" var="nuclear">				
					<td> 
						<ui:include src="/jsf/views/nuclear.xhtml" >
							<ui:param name="nuclear" value="#{nuclear}" />
						</ui:include>
					</td>
				</c:forEach> 
			</tr>
		
		</c:forEach>
	</table>
</ui:component>